package com.zhiqihang.ziqihangserverorders.config;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @ClassName AliPayConfig
 * @Description Violet
 * @Author 86183
 * @Date 2024/7/14 21:32
 * @Version 1.0
 */
@Component
@ConfigurationProperties(prefix = "alipay")
@Getter
@Setter
public class AliPayConfig {
    @ApiModelProperty(value = "支付宝应用id")
    private String appId;
    @ApiModelProperty(value = "支付宝私钥")
    private String appPrivateKey;
    @ApiModelProperty(value = "支付宝公钥")
    private String alipayPublicKey;
    @ApiModelProperty(value = "支付宝回调地址")
    private String notifyUrl;
}
